package org.example.kg_back.controller;


import org.example.kg_back.common.result.Result;
import org.example.kg_back.service.imp.MultiRadarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Colonnello
 * @Gitee https://gitee.com/niuzhengchao
 * @Date 2021/3/15 10:49
 */
@RestController
@RequestMapping("/api/multiRadar")
public class MultiRadarController {

	@Autowired
	private MultiRadarService service;

	/**
	 * 查询综合航迹数据
	 * @return
	 */
	@GetMapping("/findMultRadar")
	public Result<?> findMultRadar(){
		return Result.success(service.findMultRadar());
	}
}
